﻿using CodeApi.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace CodeApi.Context
{
    public class IndexContext:DbContext
    {
        public IndexContext(DbContextOptions<IndexContext> options) : base(options)
        {

        }

        public DbSet<BannerModel> banners { get; set; }
        public DbSet<MoveLetterModel> MoveLetter { get; set; }

        public DbSet<ArticleModel> articles { get; set; }
    }
}
